#ifndef _CHARACTER
#define _CHARACTER

#include "Entity.h"
#include "Animation.h"


// The direction #'s are based on the spritesheet layout

enum Direction {
    DOWN = 0, UP = 1, LEFT = 2, RIGHT = 3
};

/**
 * Character class - represents objects such as the player or npcs
 * @author Rachel Morris
 */
class Character : public Entity {
protected:
    Animation anim; // added by luke
    float walkSpeed;
    int score;
public:
    // Init/Deinit
    void Initialize();
    Character(Image&);
    // Object functionality
    void Move(Direction dir);
    // Get/set

    void SetSpeed(float val) {
        walkSpeed = val;
    }

    void IncrementScore() {
        score++;
    }

    int GetScore() {
        return score;
    }
    string GetScoreString();
    string GetRank();
};

#endif
